﻿<%@ Page Title="" Language="C#" MasterPageFile="~/GiaoDien_NVVPD.Master" AutoEventWireup="true" CodeBehind="Sua_CD.aspx.cs" Inherits="BT_web__nhom06.Sua_CD" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <div class="title" style="text-align:center"> Sửa Thông Tin Chi Đoàn</div>
     
<table border="0">
        <tr>
            <td style="width: 170px">Mã chi đoàn</td>
            <td style="width: 334px"><asp:TextBox ID="txt_machidoan" runat="server" Width="312px" ReadOnly="True" BackColor="#00FFCC"></asp:TextBox></td>
        </tr>
         <tr>
            <td style="width: 170px">Tên chi đoàn</td>
            <td style="width: 334px"><asp:TextBox ID="txttenchidoan" runat="server" Width="158px" BackColor="#00FFCC" ReadOnly="True"></asp:TextBox>
             </td>
        </tr>
         <tr>
            <td style="width: 170px; height: 46px;"> Bí thư chi đoàn</td>
            <td style="width: 334px; height: 46px;"><asp:TextBox ID="txtbithuchidoan" runat="server" Width="155px" BackColor="White" ForeColor="Black"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToCompare="txtphobithuchidoan" ControlToValidate="txtbithuchidoan" ErrorMessage="Trùng mã sinh viên" Operator="NotEqual"></asp:CompareValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtbithuchidoan" ErrorMessage="Nhập mã sinh viên"></asp:RequiredFieldValidator>
                <asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="txtbithuchidoan" OnServerValidate="CustomValidator1_ServerValidate"></asp:CustomValidator>
             </td>
        </tr>
         <tr>
            <td style="width: 170px">Phó bí thư chi đoàn</td>
            <td style="width: 334px"><asp:TextBox ID="txtphobithuchidoan" runat="server" Width="157px" BackColor="White" BorderColor="White"></asp:TextBox>
                <asp:CustomValidator ID="CustomValidator3" runat="server" ControlToValidate="txtphobithuchidoan" OnServerValidate="CustomValidator3_ServerValidate"></asp:CustomValidator>
             </td>
        </tr>


         <tr>
            <td style="width: 170px">Đặc điểm</td>
            <td style="margin-left: 80px; width: 334px;"><asp:TextBox ID="txtdacdiemchidoan" runat="server" Width="232px" Height="184px" TextMode="MultiLine"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtdacdiemchidoan" ErrorMessage="Chưa nhập đặc điểm chi đoàn"></asp:RequiredFieldValidator>
             </td>
        </tr>


         <tr>
            <td style="width: 170px">&nbsp;</td>
            <td style="margin-left: 80px; width: 334px;">
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Cập Nhật" />
              
                <asp:Button ID="Button2" runat="server" CausesValidation="False" OnClick="Button2_Click" Text="Thoát" />
              
                <asp:Label ID="Label1" runat="server"></asp:Label>
              
             </td>
        </tr>


     </table>

</asp:Content>
